const Router=require('@koa/router')

const goodsRouter=new Router({
    prefix:'/hot'
})

const {getList}=require('../middlewares/hot.middlewares')

goodsRouter.get(['/','/list'],getList,ctx=>{
    ctx.body=ctx.goods

})

module.exports=goodsRouter